<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .menu{
            position: fixed;
            background-color: yellow;
            bottom: 0px;
            display: flex;
            width: 100%;
            height: 70px;
            align-items: center;
        }
        .sub{
            flex-grow: 1;
            text-align: center;
        }
        .sub img{
            height: 30px;
        }
        *{
            margin: 0px;
            padding: 0px;
        }
    </style>
</head>
<body>
    <div class="menu">
        <div class="sub">
            <img src="images/home.png" alt="">
            <p>首页</p>
        </div>
        <div class="sub">
            <img src="images/home.png" alt="">
            <p>首页</p>
        </div>
        <div class="sub">
            <img src="images/home.png" alt="">
            <p>首页</p>
        </div>
        <div class="sub">
            <img src="images/home.png" alt="">
            <p>首页</p>
        </div>
        <div class="sub">
            <img src="images/home.png" alt="">
            <p>首页</p>
        </div>
    </div>
</body>
</html>